<template>
  <el-row :gutter="10" class="top-view">
    <el-col :span="6">
      <TodaySalesVue></TodaySalesVue>
    </el-col>
    <el-col :span="6">
      <TodayOrdersVue></TodayOrdersVue>
    </el-col>
    <el-col :span="6">
      <TodayUsersVue></TodayUsersVue>
    </el-col>
    <el-col :span="6">
      <TotalUsersVue></TotalUsersVue>
    </el-col>
  </el-row>
</template>

<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
  name: "TopView",
});
</script>

<script setup lang="ts">
import TodaySalesVue from "./TodaySales.vue";
import TodayOrdersVue from "./TodayOrders.vue";
import TodayUsersVue from "./TodayUsers.vue";
import TotalUsersVue from "./TotalUsers.vue";
</script>

<style scoped lang="scss">
.el-row {
  margin-bottom: 20px;
}
.el-row:last-child {
  margin-bottom: 0;
}
.el-col {
  border-radius: 4px;
}

.grid-content {
  border-radius: 4px;
  min-height: 36px;
}
</style>
<style lang="scss">
.top-view {
  .emphasis {
    margin: 0 5px;
    font-size: 12px;
    font-weight: 700;
  }
  .increment {
    width: 0;
    height: 0;
    border-width: 4px;
    border-color: transparent transparent green transparent;
    border-style: solid;
  }
  .decrement {
    width: 0;
    height: 0;
    border-width: 4px;
    border-color: red transparent transparent transparent;
    border-style: solid;
  }
}
</style>

